package com.huffman.smart_picture.domain.constants;

/**
 * @author DengLin
 * @title 系统通用常量
 * @date 2024/07/03
 */
public class CommonConstant {

    public static final String SALT = "lin";

    public static final String SORT_ASC = "asc";

    public static final String SORT_DESC = "desc";

    public static final String ADMIN = "admin";

    public static final String USER = "user";

    public static final long ONE_SECOND = 1000L;

    public static final long ONE_MINUTE = 60 * ONE_SECOND;

    public static final long ONE_HOUR = 60 * ONE_MINUTE;

    public static final long ONE_DAY = 24 * ONE_HOUR;

    public static final long ONE_MONTH = 31* ONE_DAY;

    public static final long ONE_YEAR = 12* ONE_MONTH;

    public static final Integer EXIST = 1;

    public static final Integer NOT_EXIST = 0;

    public static final Integer UNBAN = 1;

    public static final Integer BAN = 0;

}
